<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>客户列表</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/demo/demo.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
</head>
<body>
    <table id="userDg" title="订单列表" style="width:1100px;height:370px" class="easyui-datagrid">
    </table>
    <script type="text/javascript">
    $(function () {
	    //加载信息
	    $('#userDg').datagrid({
	    	idField:"id",
	        url: 'user_getData.action',
	        loadMsg: '数据装载中......',
	        singleSelect: true,
	        columns: [[
	        { field: 'id', title: '编号', width: 40 },
	        { field: 'userAccount', title: '用户名', width: 50},
	        { field: 'userIdcard', title: '身份证', width: 100 },
	        { field: 'userPhone', title: '电话', width: 50 },
	        { field: 'userName', title: '真实姓名', width: 70 },
	        { field: 'userEmail', title: '邮箱', width: 100 },
	        { field: 'insertTime', title: '下单时间', width: 60 }
	        ]],
	        pagination: true,
	        fitColumns:true,
	        rownumbers: true
	    });
	});
    
    </script>
</body>
</html>